<html>

<head>
<title>Globals: Instance Update</title>
<style type="text/css"><!--tt { font-size: 10pt } pre { font-size: 10pt }--></style>
</head>

<body bgcolor="#ffffff" text="#000000" link="#000080" vlink="#800000" alink="#0000ff">

<table border="0" cellpadding="0" cellspacing="0" bgcolor="#d0d0d0">
  <tr>
    <td width="120" align="left"><a href="message.html"><img width="96" height="20" border="0"
    src="../images/navlt.gif" alt="Info Messages"></a></td>
    <td width="96" align="left"><a href="intinfo.html"><img width="64" height="20" border="0"
    src="../images/navrt.gif" alt="Interface Info"></a></td>
    <td width="96" align="left"><a href="../globals.html"><img width="56" height="20"
    border="0" src="../images/navup.gif" alt="Globals"></a></td>
    <td width="288" align="right"><a href="../index.html"><img width="230" height="20"
    border="0" src="../images/proglw.gif" alt="Table of Contents"></a></td>
  </tr>
</table>

<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="600"><br>
    <h3>Instance Update</h3>
    <p><small><strong>Availability</strong>&nbsp; LightWave&reg; 6.0</small><br>
    <small><strong>Component</strong>&nbsp; Layout, Modeler</small><br>
    <small><strong>Header</strong>&nbsp; <a href="../../include/lwhandler.h">lwhandler.h</a></small></p>
    <p>A <a href="../handler.html">handler</a> plug-in calls this to synchronize LightWave&reg;
    with changes to the plug-in's instance data. LightWave&reg; will refresh its own interface and
    will usually call the handler's evaluation function in the process.</p>
    <p><strong>Global Call</strong></p>
    <pre>   LWInstUpdate *instupdate;
   instupdate = global( LWINSTUPDATE_GLOBAL, GFUSE_TRANSIENT );</pre>
    <p>The global function returns a pointer to an LWInstUpdate.</p>
    <pre>   typedef void LWInstUpdate (const char *class, LWInstance);</pre>
    <p>The arguments are the plug-in class of your handler and the instance that has changed.</p>
    <p><strong>Example</strong></p>
    <p>Several of the samples, including <a href="../../sample/Layout/Shader/blotch/">blotch</a>, <a
    href="../../sample/Layout/DisplacementMap/inertia/">inertia</a> and <a href="../../sample/Layout/ChannelFilter/txchan/">txchan</a> use
    the update function.</td>
  </tr>
</table>
</body>
</html>
